package com.cyc.basic;

import com.cyc.common.annotation.EnableCyc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author chenyunchang
 * @title 启动类
 * @date 2020/12/17 9:51
 */
@SpringBootApplication
@EnableCyc
@ComponentScan(basePackages = {"com.cyc.common.*","com.cyc.basic.*"})
@MapperScan("com.cyc.basic.mapper")
public class BasicApplication {

    public static void main(String[] args) {
        SpringApplication.run(BasicApplication.class, args);
    }
}
